package com.pzh.guli.service.edu.feign.fallback;

import com.pzh.guli.service.base.dto.CourseDto;
import com.pzh.guli.service.base.result.Result;
import com.pzh.guli.service.edu.feign.EduCourseService;
import lombok.extern.slf4j.Slf4j;
import org.springframework.stereotype.Component;
import org.springframework.stereotype.Service;

@Component
@Slf4j
public class EduCourseServiceFallback implements EduCourseService {
    @Override
    public CourseDto getCourseDto(String courseId) {
        log.info("远程课程服务熔断");
        return null;
    }
}
